package com.example.mapper;

import com.example.dto.ReportDTO;
import com.example.vo.ReportVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReportMapper {

    /**
     * @description:举报全查
     * @author: lk
     * @date: 2022/11/15 19:52
     * @param: reportVO
     * @return: java.util.List<com.example.dto.ReportDTO>
     **/
    List<ReportDTO> reportCheck(ReportVO reportVO);

    /**
     * @description:举报数据总数
     * @author: lk
     * @date: 2022/11/15 19:53
     * @param: reportVO
     * @return: java.lang.Integer
     **/
    Integer reportCheckTotal(ReportVO reportVO);

    /**
     * @description:举报审核-不通过
     * @author: lk
     * @date: 2022/11/15 19:50
     * @param: reportNumber
     * @return: java.lang.Integer
     **/
    Integer examineReport(String reportNumber);

    /**
     * @description:举报审核-通过
     * @author: lk
     * @date: 2022/11/15 19:50
     * @param: reportNumber
     * @return: java.lang.Integer
     **/
    Integer examineReport2(String reportNumber);

    /**
     * @description:删除举报
     * @author: lk
     * @date: 2022/11/15 21:28
     * @param: reportNumber
     * @return: java.lang.Integer
     **/
    Integer deleteReport(String reportNumber);
}
